package com.dsr.entity;


import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModel;
import lombok.Getter;
import lombok.Setter;

import javax.persistence.Id;
import javax.persistence.Transient;
import java.io.Serializable;
import java.util.Date;

/**
 * (Shop)实体类
 *
 * @author dsr
 * @since 2020-10-08 17:17:38
 */

@Getter
@Setter
@ApiModel("(Shop)实体类")
@JsonInclude(JsonInclude.Include.NON_NULL)
public class Shop implements Serializable {
    private static final long serialVersionUID = -70637825086309187L;
    @Id
    private String id;

    private Date dateTime;

    private String flowerId;

    private Integer number;

    private String userId;

    @Transient
    private Flower flower;

}